package com.zzqstart.cateservice.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * ClassName: BackRecipeQuery
 * Package: com.zzqstart.cateservice.entity.vo
 * Description:
 *
 * @Author zzqstart
 * @Create 2023-03-10 23:04
 * @Version 1.0
 */
@Data
@EqualsAndHashCode
public class BackRecipeQuery implements Serializable {

    private static final long serialVersionUID = 12L;

    @ApiModelProperty(value = "菜谱ID")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "菜谱一级分类编号")
    private String categoryParentId;

    @ApiModelProperty(value = "菜谱二级分类编号")
    private String categoryId;

    @ApiModelProperty(value = "菜谱标题")
    private String title;

    private BigDecimal gradeLeft;
    private BigDecimal gradeRight;

    @ApiModelProperty(value = "发布者名称")
    private String publisherName;

    @ApiModelProperty(value = "菜谱主图")
    private String mainImgUrl;

    @ApiModelProperty(value = "收藏数量")
    private Integer collectCount;

    @ApiModelProperty(value = "菜谱状态：1，删除；；0，正常")
    private Integer isDeleted;

    @ApiModelProperty(value = "菜谱状态：；1，打回；0，正常")
    private Integer isReturn;

    private Boolean isCreateTime;

    private String time;

}
